/*--- RESET CSS ---*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: rgb(237, 238, 239);
  color: #000;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 100%;
  /* default: 16px */
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
}

/*--- HEADER ---*/
header {
  max-width: 1200px;
  width: 100%;
  z-index: 10;
  position: fixed;
  top: 0;
  background-color: #000;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 60px;
  height: 80px;
  line-height: 80px;
  box-shadow: 0 4px 10px 0 rgb(69 61 80 / 8%);
}

.logo {
  color: #fff;
  font-size: 2em;
  font-weight: bold;
}

/*--- NAV ---*/
.main-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 60px;
}
.menu-img {
  display: none;
}

.main-nav ul {
  list-style-type: none;
}

.main-nav li {
  display: inline;
  margin-left: 20px;
  color: rgba(56, 56, 64, 0.75);
}

.main-nav a:link,
.main-nav a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
}

/*--- SECTIONS ---*/
section {
  padding: 20px 0;
}


/*--- SECTION FEATURED ---*/
.section-photo {
  max-width: 1200px;
  padding: 80px 60px;
  margin: 0 auto;
  display: flow-root;
}

.section-photo>p {
  color: #383840;
  text-align: left;
  padding: 50px 0;
  font-size: 1.4em;
  font-weight: normal;
}

.section-photo .menu-nav {
  margin-bottom: 40px;
}

.section-photo .menu-nav ul {
  list-style-type: none;
}

.section-photo .menu-nav ul li {
  cursor: pointer;
  padding: 7px 12px;
  display: inline-block;
  border-radius: 4px;
  margin-right: 12px;
  color: rgba(56, 56, 64, 0.75);
  font-size: 1em;
  font-weight: bold;
}

.section-photo .menu-nav ul .active,
.section-photo .menu-nav ul li:hover {
  background-color: #000000;
  color: #fff;
}

.section-photo .content .left,
.section-photo .content .center,
.section-photo .content .right {
  float: left;
  width: 32%;
  margin-right: 1.3%;
}

.section-photo .card {
  cursor: pointer;
  display: block;
  position: relative;
  border-radius: .25em;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, .1);
}

.section-photo .card .hover-box {
  opacity: 0;
  transition: all .5s;
  display: block;
  background-color: #fff;
  position: absolute;
  width: 94%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  border-radius: .5em;
  bottom: -50px;
}

.section-photo .card:hover .hover-box {
  bottom: 10px;
  opacity: 1;
}

.section-photo .card .hover-box h5 {
  margin-bottom: 10px;
}

.section-photo .card .hover-box p {
  color: #666;
}

.portfolio1 {
  height: 200px;
  background-image: url(../images/portfolio1/banner.png);
}

.portfolio2 {
  height: 400px;
  background-image: url(../images/portfolio2/banner.jpg);
}

.portfolio3 {
  height: 300px;
  background-image: url(../images/portfolio3/banner.png);
}

.portfolio4 {
  height: 300px;
  background-image: url(../images/portfolio4/banner.png);
}
.left .portfolio5  {
  display: none;
}
.center .portfolio6  {
  display: none;
}
.portfolio5 {
  height: 240px;
  background-image: url(../images/portfolio5/banner.jpg);
}

.portfolio6 {
  height: 360px;
  background-image: url(../images/portfolio6/banner.jpg);
}

.section-contact {
  padding: 0 60px;
}

.section-contact .left-info {
  width: 40%;
  display: inline-block;
  height: 100%;
}

.section-contact .info-item {
  /* float: left; */
  margin-bottom: 48px;
}

.section-contact .info-title {
  color: #666;
  font-weight: bold;
  margin-bottom: 12px;
}

.section-contact .contact-form {
  width: 59%;
  display: inline-block;
}

.section-contact .contact-form .col input {
  width: 48%;
}

.section-contact .contact-form .col input:first-child {
  margin-right: 3.5%;
}

input[type=text],
input[type=email],
select,
textarea {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ededed;
  border-radius: 2px;
  width: 100%;
}

input[type=submit] {
  width: 180px;
  padding: 15px;
  margin: 10px 0;
  border: 0;
  border-radius: 6px;
  background-color: #000;
  color: #fff;
  font-weight: 300;
  text-decoration: none;
  transition: background-color .3s, border .3s, color .3s;
  cursor: pointer;
}

input[type=submit]:hover,
input[type=submit]:active {
  background-color: #000;
}

textarea {
  height: 100px;
}

*:focus {
  outline: none;
}


/*--- SECTION FOOTER ---*/
footer {
  text-align: center;
  background-color: #000;
  padding: 40px;
  color: rgba(255, 255, 255, .5);
}

.footer-logo {
  font-weight: bold;
  font-size: 2em;
  color: #fff;
}

.footer-social {
  text-align: center;
  list-style-type: none;
  margin: 50px;
}

.footer-social li {
  display: inline-block;
  padding: 0 4px;
}

footer p {
  clear: both;
  text-align: center;
  color: rgba(255, 255, 255, .5);
}

.footer-nav li a:link,
.footer-nav li a:visited,
.footer-social li a:link,
.footer-social li a:visited {
  text-decoration: none;
  color: #888;
  border: 0;
  transition: color .3s;
}

.footer-nav li a:hover,
.footer-nav li a:active {

  color: #ddd;
}

.footer-social li a:link,
.footer-social li a:visited {
  font-size: 1.8em;
}

/* https://www.jootoor.com/social-media-colors-hex-codes-rgb-sass/ */
.fa-square-facebook:hover {
  color: #000000;
}

.fa-square-twitter:hover {
  color: #000000;
}

.fa-square-instagram:hover {
  color: #000000;
}

.fa-tiktok:hover {
  color: #000000;
}

.fa-square-facebook,
.fa-square-twitter,
.fa-square-instagram,
.fa-tiktok {
  transition: color .3s;
}

.student-name {
  font-size: 1.2em;
}

@media screen and (max-width: 750px) {
  header {
    padding: 0 20px;
    height: 60px;
    line-height: 60px;
  }
  .main-nav {
    right: 20px;
  }
  .main-nav ul {
    display: none;
  }
  .logo {
    font-size: 1.2em;
  }
  .menu-img {
    width: 20px;
    display: block;
  }
  .section-photo>p {
    font-size: 1em;
    padding: 30px 0;
  }
  .section-photo {
    padding: 60px 40px;
  }
  .section-contact {
    padding: 0 40px;
  }
  .left .portfolio5  {
    display: block;
  }
  .center .portfolio6  {
    display: block;
  }

  .section-photo .content .left,
  .section-photo .content .center {
    float: left;
    width: 100%;
  }
  .section-photo .content .right {
    display: none;
    width: 100%;
  }
  .section-photo .content .right .card {
    width: 48%;
    margin-right: 2%;
    float: left;
  }
  .portfolio1 {
    height: 300px;
  }
  
  .portfolio2 {
    height: 300px;
  }
  .portfolio5 {
    height: 300px;
  }
  .portfolio3 {
    height: 300px;
  }
  .portfolio4 {
    height: 300px;
  }
  .portfolio6 {
    height: 300px;
  }

  .section-contact .left-info {
    width: 100%;
    display: inline-block;
    height: 100%;
  }
  .section-contact .info-item{
    margin-bottom: 20px;
  }
  .section-contact .contact-form {
    width: 100%;
    display: inline-block;
  }

  .section-contact .contact-form .col input {
    width: 100%;
  }

  .section-contact .contact-form .col input:first-child {
    margin-right: 0;
  }
}

@media (min-width: 750px) and (max-width: 1200px) {
  .main-nav ul {
    display: none;
  }
  .logo {
    font-size: 1.4em;
  }
  .menu-img {
    width: 30px;
  }
  .menu-img {
    display: block;
  }
  .left .portfolio5  {
    display: block;
  }
  .center .portfolio6  {
    display: block;
  }

  .section-photo .content .left,
  .section-photo .content .center {
    float: left;
    width: 48%;
    margin-right: 2%;
  }
  .section-photo .content .right {
    display: none;
    width: 100%;
  }
  .section-photo .content .right .card {
    width: 48%;
    margin-right: 2%;
    float: left;
  }
  .portfolio1 {
    height: 300px;
  }
  
  .portfolio2 {
    height: 500px;
  }
  .portfolio5 {
    height: 380px;
  }
  .portfolio3 {
    height: 500px;
  }
  .portfolio4 {
    height: 380px;
  }
  .portfolio6 {
    height: 300px;
  }

  .section-contact .left-info {
    width: 100%;
    display: inline-block;
    height: 100%;
  }

  .section-contact .contact-form {
    width: 100%;
    display: inline-block;
  }

  .section-contact .contact-form .col input {
    width: 100%;
  }

  .section-contact .contact-form .col input:first-child {
    margin-right: 0;
  }
}